package com.lvhx.task;

import java.util.concurrent.TimeUnit;

public class RunnableTask implements Runnable {
    @Override
    public void run() {
        try {
            TimeUnit.SECONDS.sleep(5);
            System.out.println("交易结束");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
